package com.alinesno.cloud.portal.auto.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.alinesno.cloud.common.facade.orm.entity.BaseEntity;


/**
 * <p>
 * 
 * </p>
 *
 * @author WeiXiaoJin
 * @since 2019-11-21 07:41:47
 */
@Entity
@Table(name="auto_job")
public class AutoJobEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 任务名称
     */
	@Column(name="job_name")
	private String jobName;
    /**
     * 任务执行表达式(cron)
     */
	@Column(name="job_cron")
	private String jobCron;


	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	public String getJobCron() {
		return jobCron;
	}

	public void setJobCron(String jobCron) {
		this.jobCron = jobCron;
	}


	@Override
	public String toString() {
		return "AutoJobEntity{" +
			"jobName=" + jobName +
			", jobCron=" + jobCron +
			"}";
	}
}
